package com.inspur.his.service.impl;

import com.inspur.his.mapper.DrugsstorrecordMapper;
import com.inspur.his.pojo.Drugsstorrecord;
import com.inspur.his.service.DrugsstorrecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;

/**
 * @Description:
 * @Date: 2022/12/15 16:49
 */
@Service("drugsstorrecordService")
public class DrugsstorrecordServiceImpl implements DrugsstorrecordService {

    @Autowired
    private DrugsstorrecordMapper drugsstorrecordMapper;

    @Override
    public List<Drugsstorrecord> drugsstorrecordList(HashMap map) {
        return drugsstorrecordMapper.drugsstorrecordList(map);
    }

    @Override
    public List<Drugsstorrecord> findByDate(HashMap map) {
        return drugsstorrecordMapper.findByDate(map);
    }

    @Override
    public Drugsstorrecord findById(Drugsstorrecord drugsstorrecord) {
        return drugsstorrecordMapper.findById(drugsstorrecord);
    }

    @Override
    public void drugsstorrecordAdd(Drugsstorrecord drugsstorrecord) {
        drugsstorrecordMapper.drugsstorrecordAdd(drugsstorrecord);
    }

    @Override
    public void drugsstorrecordDelete(Drugsstorrecord drugsstorrecord) {
        drugsstorrecordMapper.drugsstorrecordDelete(drugsstorrecord);
    }
}
